<template>
  <section>
    <div class="list-title">
      <slot name="title">{{title}}</slot>
      <div class="right">
        <slot />
      </div>
    </div>
  </section>
</template>
<script>
export default {
  name: 'ym-data-view',
  props: {
    title: {
      default: '数据列表'
    }
  }
}
</script>
<style lang="scss" scoped>
</style>
